Events

All significant state changes emit events. This page lists every custom event grouped by contract.

WTDToken

Event
Parameters
Description

AllocationCreated

category (indexed), amount

Emitted at initialization for each allocation category

AllocationClaimed

category (indexed), recipient (indexed), amount

Allocation tokens minted to recipient

TokensBurned

account (indexed), amount

Tokens burned from an account

MaxSupplyReached

totalSupply

Total supply has reached the 100 billion max

Standard ERC20 events (Transfer, Approval) are also emitted by inherited OpenZeppelin contracts.

WTDSale

Event
Parameters
Description

RoundConfigured

round (indexed), priceUSDC, priceUSDT, priceETH, allocation

Round pricing and allocation set

RoundActivated

round (indexed), active

Round activated or deactivated

Purchase

buyer (indexed), round (indexed), usdcAmount, tokenAmount

USDC purchase completed

PurchaseWithUSDT

buyer (indexed), round (indexed), usdtAmount, tokenAmount

USDT purchase completed

PurchaseWithETH

buyer (indexed), round (indexed), ethAmount, usdValue, tokenAmount

ETH purchase completed

USDCWithdrawn

recipient (indexed), round (indexed), amount

USDC withdrawn from round

USDTWithdrawn

recipient (indexed), round (indexed), amount

USDT withdrawn from round

ETHWithdrawn

recipient (indexed), round (indexed), amount

ETH withdrawn from round

RoundRecipientSet

round (indexed), recipient (indexed)

Withdrawal recipient set for round

WTDVesting

Event
Parameters
Description

VestingCreated

beneficiary (indexed), round (indexed), amount, lockUpEnd, vestingEnd

Investor vesting schedule created or updated

TeamVestingCreated

beneficiary (indexed), role (indexed), amount, lockUpEnd, vestingEnd

Team vesting schedule created or updated

TokensClaimed

beneficiary (indexed), round (indexed), amount

Investor claimed vested tokens

TeamTokensClaimed

beneficiary (indexed), role (indexed), amount

Team member claimed vested tokens

TGEUnlockClaimed

beneficiary (indexed), round (indexed), amount

TGE unlock tokens claimed

TGESet

timestamp

TGE timestamp set

RoundFunded

round (indexed), amount

Tokens deposited for a round

TeamAdvisorsFunded

amount

Tokens deposited for team/advisors

UnallocatedWithdrawn

round (indexed), amount, to (indexed)

Unallocated tokens withdrawn

EmergencyWithdrawn

token (indexed), amount, to (indexed)

Emergency token recovery

VestingRoleLocked

(none)

VESTING_ROLE permanently locked

WTDLiquidityManager

Event
Parameters
Description

LiquidityLocked

lockId (indexed), owner (indexed), tokenId (indexed), poolId, liquidity, unlockTime

LP position locked

LiquidityUnlocked

lockId (indexed), owner (indexed), tokenId (indexed), poolId, liquidity

LP position unlocked and NFT returned

FeesCollected

lockId (indexed), recipient (indexed), amount0, amount1

Trading fees collected from locked position